updated os/x building script