Fix references to dependencies