fix dependencies to avoid rebuilding everything