Fix compilation with no-ec and/or no-tlsext.