remove compat directory