Go back to VirtualBox for Vagrant for now. :(
Use correct code for checking the platform.