Apply GCC optimizations