Remove platform-specific stuff