Refs #6338 fix isnan for windows