Build openssl only with static libraries (copied and modified from omnibus-software)