fix Tk-wrapper build issues