Ignore dist folder.
Updated makefile with dist target.
Fixed version flag not working for dist target.