Cleans up kdirent hack, removes MIN_M_BUF_SZ