Prevent duplicate imports with different slashes in Windows