fix isnan compilation
fix clang compilation

No parallel processing via OpenMP with clang