add wapiti and libwapiti source
build wapiti as extension