Fixed compiler warnings, added clean target to Makefile.