Fix TCL 8.4 compatibility