$L_\infty$-spaces and Lie algebroids