Isn't nmake detect error and this logic identical? Both look at the existence of build[0]. Why does nmake need a special case?