enabled some optimization flags