This is necessary when doing the native build on Mac OS, but it breaks the native build when cross-compiling, so keep it disable for the latter.
For other scenarios (native build on other platforms) it works and is useful to enforce the minimum version for Boost.