** To build run : autoreconf --install, ./configure, make * Minor typecasts and fixed typo to make GCC happy