Thread: Add the possibility to use the more complete and generic implementation of shared_mutex in windows.