Fixed an issue with non-C++ 11 builds.