tidy up build file a bit