Detect if running in a VM or on real hardware