Add autoconf checks for apxs