Merge pull request #214 from sunyc/master

Fix compiling issue on CYGWIN
fix add_vmessage