Fixed OpenSSL programs and tests being generated when testing disabled.