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.
I am fine with this as a temporary fix. Hopefully the MetaData::attributes will be completely removed as part of the transition to portable metadata.