add optimization flags to the web compilers