Use Compiler API in Loader.

Now our command line always runs through our Compiler API.

Fixes #1324
I don't know what happened. I did it but it did not commit.