plugin libraries are also searched with .dylib extension if .so is not found.