LOGCXX-366: errors when compiling under win7, thanks to Feng Nan and Christian Boos

git-svn-id: https://svn.apache.org/repos/asf/logging/log4cxx/trunk@1511179 13f79535-47bb-0310-9956-ffa450edef68