using a set when calculating dependencies to we dont do extra processing for duplicate dependencies and fixing issue where dependencies would be reported as empty strings for thirdparty libs