lib: tidy up build list