fix compile warnings: NanSymbol deprecated, fixes #37