adding climits header to osmesa render surface.