While ENGINE is not actually used, the header being included unconditionally as well as the cleanup function being called breaks compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>