Fixed broken linking with locally built libot.a