Finally managed to cross-compile a shared version of openssl so I can use the autotools opusfile build.