Use <ctime> instead of <time.h>.
Remove unused Autoconf header checks from configure.ac.