Move checks for "sig_t" to AC_CHECK_TYPE.  Fixes #765