fixed autoreconf issues