Added include for NAN symbol.