Fix installation when using extras