osx: possible workaround for loading libraries on Mac OS 11 try different paths before using find_libary() related to #518