Fix dynamicResourcepath for windows systems (again)
Merge pull request #4016 from colemanw/Fix

Fix dynamicResourcepath for windows systems (again)