fix gcc49 c++14 build