Remove some Mac specific stuff