CMake fix for GCC 4.6 (maybe it even compiles)