imkl: make version check more correct