fixed compile failed with enable-openssl