fix imkl sanity check wrt 32bit and old imkl versions