add cleanup, .gitnore build directories and deps, partially fix always rebuilding