Support build Zend O+ statically into PHP

previous PR was closed because it was base on master.

this PR is the same as #45

thanks