modified build script to work on Ubuntu
Merge pull request #1 from bnied/master

modified build script to work on Ubuntu