How can I use -O3 compiler optimization flag?