Mac-specific build changes