Make it build with scala 2.10.