build script for linux/osx
updated README (build instructions)