Use Compiler API in Loader.

Now our command line always runs through our Compiler API.

Fixes #1324
We should convert every / to \ in paths when the enter the code. Otherwise we have to deal with \ every single time we touch the files. There is no harm in reporting errors or otherwise using /, Windows only cares on its command line.