Add rules for the compilation of tk