Cleaning up PlatformCheck* functions.