Update main.h

added glext for linux to work with minib3d