change optimization lvl osx and linux