Fix tests on nightly (#720)

diff --git a/src/lib.rs b/src/lib.rs
index d444e93..4e12eeb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -82,7 +82,6 @@
 
 extern crate lazycell;
 extern crate net2;
-extern crate slab;
 extern crate iovec;
 
 #[cfg(target_os = "fuchsia")]
@@ -105,9 +104,6 @@
 #[macro_use]
 extern crate log;
 
-#[cfg(test)]
-extern crate env_logger;
-
 mod event_imp;
 mod io;
 mod poll;
diff --git a/src/timer.rs b/src/timer.rs
index 306c95f..ff3f436 100644
--- a/src/timer.rs
+++ b/src/timer.rs
@@ -2,6 +2,8 @@
 
 #![allow(deprecated, missing_debug_implementations)]
 
+extern crate slab;
+
 use {convert, io, Ready, Poll, PollOpt, Registration, SetReadiness, Token};
 use event::Evented;
 use lazycell::LazyCell;
@@ -92,7 +94,7 @@
 // Manages communication with wakeup thread
 type WakeupState = Arc<AtomicUsize>;
 
-type Slab<T> = ::slab::Slab<T, ::Token>;
+type Slab<T> = slab::Slab<T, ::Token>;
 
 pub type Result<T> = ::std::result::Result<T, TimerError>;
 // TODO: remove