fixed library path linking