Upgrading virtual machine compatibility