tcl: fix cross-compilation