Setup.hs: move buildTypes back into post-build, fixes compilation dependencies

cabal compiling far fewer files now :-)
minimal changes, mostly comments, so it should be easier to put back/further fix/other