make the build script do optimisation