ternary update for non-windows build