This required many time related include files, functions, and variables to be tested for via CMake, and converted to macros via #cmakedefine, so that they would be automatically set for the test-mktime.cxx file.