Fixed warnings.

Also added -Wall to Makefile.