Don't lose the this reference for compilerHost methods.

Fixes #1545
Oh right, I missed that one - my host doesn't use this inside getNewLine() so I didn't catch it.

I'll change the program ones too.