Fix isMac global variable name