fix build for latest rustc