more windows build fixes isnan