Updates for rust-nightly

static -> const
str::raw::from_c_str() -> std::string::raw::from_buf()