Fix build fails on some systems

Basically, did 2 things:

1. Modify c_src/Makefile.in
2. Run ./autogen.sh