Changed cabal file so we don't recompile library to make executable.
More cabal file tweaks.

Don't rebuild library to make cgi script.
Moved build depends under flag conditional.
Minor formatting change