[8] Refactorize OpenSSL build step. Simplify platform conditions.