cmake remove bad library search hackery