Add compatibilty with Titanium 3.4