Fix autogen.sh error AC_MSG_ERROR

resolve #2