Refactor to PHP5.3.x to have the ci environment working