update scala build path during %pre