Update example configure for tcl8.6 and add explict cast for Tcl_GetHashKey back to char* where it is needed