crack-attack: backport cross-build fix to original template