moved to C++11 build on OSX