Fuck you ShutdownThread: Fix build errors