Add inequality operator for MachineLocation.

Fixes the build I broke in r205360
Allow the user to override the compiler used for testing

Change-Id: I76d4708a26f17185efb746f4b836aa32f3f8a44f