Added Snoopy's version of libconfig and use that

Also added Makefile that magically does the right thing.