Fix few errors in the Mutex and Thread files.