tidy up build config