Got rid of the unneeded template trickery in the Linux specific graphics context class.