Update the windows setup and fix the class 'SelfWeakPointer'.