fixed build with latest rustc