add build script for darwin