added O3 to linker in release mode