fix: fix build on PHP < 5.6