* Improve CMake build support. * Add support for pkg-config. * Do not redefine "snprintf" so that the examples build with MSVC 2015. * Assorted cleanups.