Fix warning.

Now despair is being included to the tests as non-system library, so it can generate warnings.
Also a warning in task_queue has been fixed.