add correct libs to link with