Fix compile error with GCC4.8