Fix library-search in configure for Macs (temporary)