support build Zend O+ statically into PHP

dmitry, since we discuss this today, so I find a solution.

here is the patch.

what do you think?