fix script for openssl building