Include Config.h in Task.cpp for windows threading fix