imkl: some cleanup and added some libs to the sanity check