Update lib.rs

Make this work with the latest master (5419b2ca2)