There's some newer stuff we don't have yet. Partly because of vax, since it's the only non-ieee platform we support.
NAN is one of these issues, and not the only one. For now, just cater around the problem by reading carefully the code, and figuring out what you can put instead of NAN.