apr: cross build support.