Add build script for posix OS