Write debug messages to stderr
Upgrade to VS2013