I don't know what the best practice is with platform-specific code, but isn't this check unnecessary here since it's done when the file is included?