Set platform specific flags.