win32: Enable C++11 if compiler supports it.
mingw/win64: check for WIN64 and enable LLP64 schema.
Format string using ostringstream and avoiding #if/#endef
Don't compare signed with unsigned.