[enh][build] enhance build script
[enh][error_messages] add more error messages
Merge pull request #111 from pointhi/master

enh buildscript and error messages