Set ostype when creating the vm, it doesn't work properly when changing with modifyvm.