Adding support for Windows path separators.

This adds Windows support by supporting the appropriate path separator for the platform.