Fix scoped thread local

was missing a couple of semicolons and applications using it failed to compile