Add some optimizations and specify GCC