dwdiff: fix cross builds.