Replace LoadLibrary with GetModuleHandle, since kernel32 is loaded by default

As requested