rearrange targets to satisfy dependencies. Too bad we aren't using llvm-config.