react-leaflet: fixup imports and node hacks