Fix compile error on GCC