fixed optimization flags