dev: tidy build process