correct a platform-dependant test condition