Attribute changes to be backward compatible on windows