Fix getResourcePaths for windows