Put #define isnan _isnan at top