Fixed GCC build