Add header files to add_library targets so they show up in IDEs.
Fix build on Windows using Visual Studio. Add gflags_config.h.