CRM-14140 - Fixing Cron failure in J3.x

CRM-14140 - Fix for Cron in Joomla 3.x
http://issues.civicrm.org/jira/browse/CRM-14140