Don't add Jack dependencies when building without Jack
am: 7d177b424d

Change-Id: I944944fa70431f5fe9297a7aff3c811fc665c1dd