add windows CMake and changed NAN to CUDART_NAN_F