fix a buffer overflow
added a configure script