Compilers: Start rewriting compiler invocation

This will help remove even more
duplicated code across compilers
and margins.

TODO: Margins, minification, gzip, compile on build