Adapt the ramses build script