Don't use libcrypto private headers with mkdef.pl