Add correct defines to release build of certgen-only projects.