Add lint make target and fix lint warnings
