Fix for buntu map, php<5.2 support