Fixed missing isnan() for VC11