Remove platform specific elements