addpath_mosek was calling javaaddpath which zaps global variables