Properly link to libmongo