lib: un-break msvc
tools: fix more warnings
tools: x64 fixes for msvc
tools: tell msvc to disable deprecation warnings
Merge pull request #77 from Hoernchen/master

important stuff