Fix minGW sprintf_s build error
On windows, We should replace snprintf on msvc only.
Merge pull request #103 from easonlin/master

Fix minGW sprintf_s build error