refactored build of deployer-vm