Removing gc.h include, never really worked with the tasks.
Fixing mutex for the time being.