Fix CMake compile when OpenSSL is disabled.
CMake: Get rid of python not found warning when regress tests turned off.

It would warn that python wasn't found when it was, just because the regress tests where turned off... confusing.