enhance the library detection/loading

we should no require the development packages installed,
so we must address libxxx.so.V instead of xxx.so