Make special detection macro for root binaries.

The tools that are detected by this macro are meant to be used at
run time, not build time, and therefore do not necessarily have
execute permission for ordinary users. Therefore we cannot use
AC_PATH_PROG.
Merge pull request #1081 from kacfengine/configure-fixes

Make special detection macro for root binaries.