Fix wrong dependency scope.