Add optimization flags