Make indirect dependencies optional in packages file - relates to #38