compile libcrypto and libssl as static libraries