Using extensions in windows and linux

I’m trying to use extesnions in my project (such as multitexturing and cubemapping) but I need the program to run under both Windows and Linux(MesaGL). I’ve looked at the GLUX library but the linux usage instructions were very confusing. How would I get extensions to work in both places?