added support to load libraries from multi paths