sprinkle MODGNU_CONFIG_GUESS_DIRS love
add a workaround for a bug in common autoconf fragment; SED is only
set if lt_cv_path_SED is not set.

oga@ and sthen@openbsd came up with the same diff.

ok oga@ drahn@