fix lacking library path caused by static method