mkcert fixup
Merge pull request #331 from da2ce7/mkcert_fixup

mkcert fixup
cmake fix for windows
Merge pull request #332 from da2ce7/cmake_fix

cmake fix for windows
add checks to printf-like methods
fix printf-like formats