[autotools,bugfix] Remove deleted dirs from configure.ac

cmake/pkg was deleted in commit ...476b581544fb32 but not
removed from configure.ac resulting the build process to fail
for the autotools.