script to make duel arch binaries on ubuntu and osx