Change extern mod to extern crate to fix build.