Added libtask-debug flag to control debug output from the library.