build: add build script and update readme
Merge pull request #991 from jonboulle/master

build: add build script and update readme