simple-scan: fix cross build.