Allow location of OSMesa install to be specified

Allow the location of an OSMesa install to be specified and
search there first for includes and library. The location
can be specified by setting OSMESA_ROOT.