Fix building for LLVM from source

Also removes old unused debugging tasks and uses system() like Daedalus
does.