Reverted back the git "dirty" check for mac.