Backport compat folder to Joomla 2.5