More compiler warnings and some Makefile cleaning