Fixed GCC compilation