build script for *nix