Fix error while building on non-c++0x compilers