fix port set in remote build script