Fix dependency order in requirements