Add subdir-objects automake option where appropriate

Makes version 1.14 happy.
Update to gettext 0.18.3.1, fix AC_CHECK_DECLS usage