misc/build-server: fix build process