Fixed bug in check_licenses CMake module.  Added CMake utility that provides a temp folder which is cleared daily when CMake is run.