Fixed remaining install errors in Makefile.

That build system really needed to be reworked. I don't know what
I was thinking. Added a new variable to track whether files had
been processed or not.