Reflect.hasField() always returns false on windows target