msvc seems to have a hard time with quoted defines
Free nencoded_obj, thanks msvc build
Silence unused variable warning
Merge pull request #89 from p-push/fixes

Fixes made during msvc building