Prefix isnan with std

Fixes a compilation error