Use link test with CMS_get0_content instead of openssl/cms.h header check.