build: add pre-build steps