maybe this will fix linking on ubuntu