CRM-13765 - Initialization error throws a undefined function php error

http://issues.civicrm.org/jira/browse/CRM-13765