zend_parse_parameters() expects int for string len

using long causes segfault on 64bit arch
fix out-of-src-dir build