there are Apache syntax changes in 2.4:

http://httpd.apache.org/docs/2.4/upgrading.html
The errors were: FilterProvider takes three arguments, filter-name provider-name match-expression
Either all Options must start with + or -,or no Option may.

For FilterProvider, created  configurations/apache/conf.d/enabled.kaltura.conf.apache.2.4.template since the syntax is not compat between 2.2 and 2.4, for the Options issue, adding '+' is supported in 2.2 so not a problem.

Also, dropped ExecCGI as to the best of my knowledge, we do not need it.
What about taking only these four lines into a different include file to be included using some apache or environment variable? Maybe something like Include conf.d/enabled.${APACHE_RUNTIME_TYPE}.conf?