update script to support openssl-1.0.1f