[enh][build] improve build script
[enh][error_messages] add more error messages
[enh][error_messages] move error message
Merge pull request #107 from pointhi/master

create error messages and improve build script