build issues fixed after upgradation to rust 0.7