replace 'extern mod' with 'extern crate'