Fixed compatibility with GCC < 4.7