updating build script to work without sed -r
Merge pull request #38 from monitorjbl/master

updating build script to work without sed -r