Fix Scala 2.10 compilation warnings

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Merge pull request #92 from jvirtanen/fixes/scala-2-10-compilation-warnings

Fix Scala 2.10 compilation warnings