php 53

Changes to compile for php53?