changed to c++11 build