small improvements in thirdpartyproducts\openssl build script - and check script