Fix libstdc++ issues in php 5.5
Fix libstdc++ issues in php 5.4