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

This is my take on issues/568.
What do you think?
(I'd vote for also removing the static constructor methods, "object()" etc as well; IMHO having this be a POD struct is all we want or need for this purpose.)