use O3 compiler optimizations and optimizations for compiling