Added workaround for building bug in Tk on FreeBSD