Fix invalid not-equals operator
Detect the new MacOS X