Changed to a simplier dynamic library path loading structure