Adding autoconf support