If compiler is not present it throws an NPE

I was running this project for the first time and got a NPE....

So I grab the sources and figure out was a really simple fix, and didn't hurt add a polished message
nit: space after `if`, also prefer using curly braces on if statements which are not on a single line.