make spark lib version configurable