Makes path to dialect relative.

Changes source of  t161_requireTypes so that it finds
the requireTypes dialect.
Also patches gracelib.c to use just the basename of the
module pathname when constructing the name of the
module’s init function.