Derived bracket approach to $L_\infty$ algebras governing simultaneous deformations