fix imkl check