Fix build for latest rust nightly

* static -> const
* &'static str -> *const str

I changed all `static` -> `const`, not just the ones that were required to build.