Fixed windows build. Fails FUNC_CrossPlatformFileCheck like POSIX system...

Made a separate pull request so encapsulate metadata patch could _potentially_ be merged before the larger windows permissions patch.