Support for building with C++11