Fix lib target