Fixed compile error on GCC