[include] use autoreconf hook instead of manual call