Properly link to libconfig