Fixing cmake library hunting.