Php fix 5.2 build