Change inNode check for windows compatability, fixes #106