Fix Scala 2.10 compilation warnings

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>