Upgrade SBT and Scala version.
Fix equality test for complex numbers.