AML: Fix compile with imgpack