Lwt + 0install fixes

Fixes for #1863