This is required for the upcomming freefare_version() function, and mimics what is produced by the autotools.
- Fix library finding ('nfc' instead of 'libnfc'); - Generate config.h from template on non-win32 platforms; - While here, include protection for config.h in several files.