Implements directory_delete

Tested on XLIB and Win32