fixed compile error with Guice 4.0-beta4, where it was relying on an internal class