Fixed GCC bugs.