Normalize dependencies