Fixed build on Clang and C++11