fixed Boost error on OSX