Fixed bug in Toolkit.c that causes error in compilation