missing rmdir() prototype header on non-windows builds