ae.sys.d: Fix building during bisect
ae.sys.d.manager: Fix cleanup order