fix snapshot.c win32 compile errors
Merge remote-tracking branch 'refs/remotes/origin/for-quick-cocos2d-x-2.1.1' into for-quick-cocos2d-x-2.1.1