Bug fixes.

Forgotten cache and egg related flags havoc.
Added a build target.

And made all the install target depend on it.