fix cmakelist to add autoreconf