boost fixes for osx