[Bug 46454] Minimalistic C++ program removing non-empty directory is not working