Build script for remote CI