fix library path
fix ts build error