Add makefile rules for dialyzer and solved some dialyzer warnings