fix linking on buildbot