UPDATE: added the debug option for compiling the library
ADDED: instruction to generate the configure file using autotools. Useful when downloading from github