don't crash 'npm rebuild' on non mac platforms