Build openssl for both  shared and static builds