Allow for toplevel llvm-config in specified LLVM path

Fixes #2382
Fix IRB running from the command line

Since we now set $0 in the preamble, we should improve the check whether
to start IRB or not based on whether we run some other stuff.