fixed more warnings, added distclean to Makefiles