get dependencies before compilation (was mistakely changed by me)