DB/Loot: Felweed

By SQLfix closes #11329
Tools: Fix build for Mac

ACE_thread_t returned by ACE_Thread::self is a struct in Mac OS