[MacOSX] fixes some corner case compiling on x86 in boost