fix libconfig find for both windows and linux

3 jobs for v1.9.8rc2 in 22 minutes and 49 seconds (queued for 1 second)
latest