Add libcap and its header file check in configure.ac.