Added a dialyzer target and fixed the warnings.