Added compile_to method that with single .compile() can produce multiple target files.

This is my take on issues/568.
What do you think?
Sorry, I meant there are a few instances of "const char* blah" in the tests. I will comment on them.