fix linking

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>