Replace local_data_key! with thread_local!; fix #75

The `local_data_key!` macro [was replaced](https://github.com/rust-lang/rust/pull/19094).