changed gcc optimization level from "-O3" to "-O2" for releases