Fix compile error output and report correct error code
Fix compile error output and report correct error code

Fixes #181

spark/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,spark/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,kennethlimcp/particle-cli,kennethlimcp/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,kennethlimcp/particle-cli