fix some build blockers in test directory
remove TARGET_NAME from cmake macros where it is not required
make Qt5 and ZLIB required finds, add OpenSSL to interface