Build phalcon like php ext