template updates for glNext
don't forget to add winmm.lib to the linker