Revert "include dirent.h"

This reverts commit 1ee905497cfa46b1f5d85967018550535f836150.

This was a fix to a recent change to disable subman gui in docker.
Unfortunately, we are backing the entire change out.
Revert "1114132: subman-gui and other tools are disabled in container mode."

This reverts commit d62e97f63520f248b03f4725e4f58655f9dde9d5.

There are potential problems with this, reverting.
Automatic commit of package [subscription-manager] release [1.12.10-1].