Fix build errors on Windows
Change ViewHierarchyChanged's signature and implementation
Merge pull request #956 from kingFighter/win

Fix build errors on Windows