Windows: Add guard for snprintf.
Also fixes the warning for unsigned char*.
Merge pull request #1 from am11/source-map-sources

Windows: Add guard for snprintf.