The first issue fixed. And some changes in the Makefile (add a normal
debug option).