Clean and update build output more intelligently

Fixes #183.
or what i mean is, the source files for this project are the only thing that should be considered. if you wanted to include the exported files, it would be the ones from other projects, not this one. but i think that would be wrong anyways