fixing build for scala 2.10