Better detection between Linux and OS X.

So Linux gets the right VM image.