Add support for php5.3