generator: statically link wgl core, fix gladGetProcAddressPtr conflicts (#1)