Fixing ThreadLocalVar to use 'ref' gem

ThreadLocalVar needs to be required manually.