Expose progress indicator param for compile

Expose progress indicator param for Compiler.compile. This is useful for command line/build tools that writes progress.