Issue 8287: try to fix the gdb-python install errors on Solaris and FreeBSD.  Patch by Dave Malcolm.
Issue 8287: try to fix the gdb-python install errors on Solaris
and FreeBSD.  Patch by Dave Malcolm.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator