Perform platform checks.