check exit code when protoc version is determined. fixes #10
Merge pull request #11 from karl82/master

fix for #10