fixed the build on scala 2.10