agg: fix cross build.