Build with legacy C++11 compiler flag