Fix source map generation on Windows. Fixes #1333.
Merge pull request #1535 from juj/fix_source_map_windows

Fix source_map on windows.