Added a lint make target and cleaned up such mistakes as it found