Fix linking.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>