Add support for pre and post compile steps.