Remove depedancy on libjpg