Delete build files of dependencies after install

Leaving these files around confuses the check-style target of "make dist",
thus preventing successful builds.
Fix style issue
Add missing license headers
Add missing modelines