Removed some OS-X-specific stuff that wasn't actually necessary.