Print out errors if happens during compile

If piqic-erlang-rpc fails, error is not reported and script silently
dies.
Merge pull request #1 from Motiejus/error_reporting

Print out errors if happens during compile