Fixed dist build as suggested by Glen; it now cleans dist dir before running. Source dist now also excludes build and dist dir.