move mac-specific build to profile.