Add logoutput => 'on_failure' to exec calls in compile stage.

When compiles fail, it is nice to get output describing why. This will log the exec's result if the compile fails.
Merge pull request #75 from intjonathan/patch-1

Add logoutput => 'on_failure' to exec calls in compile stage.