remove lump-compile flag, remove old interface to compilation, and add a few sanity checks to avoid problems