Add patch

This patch is need to be applied to php source before building.