Convert scripts to work on POSIX
update docs
Merge pull request #11 from jwakely/posix-build

Adapt scripts for POSIX