change build file to a cross scala build file