build script sucked on os-x