Fixed GCC 4.7 Compile