Check hidden attribute on Windows

ref #15