Fixed GCC build scripts.