Revert recent dependency on libutils, use a simple ifdef instead

Proper dependency tracking in our Makefiles needs re-organisation of
configure.ac and all makefiles, to be done.