use another way to configure the libpath