Fixed the libtocd error

Now it runs in codeblocks too.