Fix to compile with rust nightly

- Sprinkle `'static` on `Box`es
- `Result.expect()` -> `Result.ok().expect()`

Tested with `rustc 0.13.0-dev (e4761c85b 2014-10-15 09:57:18 +0000)`