couple more fixes to vm build script