added scala, spark, shark many linking changes