added optimization flags