fixing jsed on ubuntu

Why, why, why?
trying to make the static linking work on ubuntu