Fixed fatal error in library for support W10.