ENGINE_cleanup is unavailable when deprecated APIs and ENGINE support are disabled. The cleanup functions are unnecessary with OpenSSL 1.1. The getm functions use a faulty if directive. Work around it. Signed-off-by: Rosen Penev <rosenp@gmail.com>