Fixes for Jessie dependencies