added build script for Mac/Linux