support build Zend O+ statically into PHP

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