Fix implicit declaration, removes debug mode from makefile