make changes to pass Cygwin


git-svn-id: http://protobuf.googlecode.com/svn@544 630680e5-0e50-0410-840e-4b1c322b438d