Eliminate excessive rebuilding.

Unfortunately, the solution to making cabal reuse other compiled files
is to split everything off into seperate directories, and link against
an internal library.  I'm not really sure how I feel about this...