Fixed ambiguous buildOptions case