improved the compilation's options and fixed a bug in dipydoc.cpp