c++11 linking fix