Perform build before starting remote vm. Handle that 3.0 does builds in background. Previously we were assured that build was done since it ran in foreground.