took @slandelle's advice and set Scala C config