Finally worked out waf dependencies mechanisms. Need 'use' keyword in refering
thing and 'export_headers' in subject. Also, if there are cfg.env.VAR_NAME's
which match the thing being use'd, the env version wins and is assumed to be
built before the show and so no build order constraints get added.