fixed build with latest rust nightly
fixed #6, build with rust-nightly