mac buildfix