add option to build with openssl