Replace 'static' with 'const' keyword.

Change according to Rust RFC 246 [1], implemented in [2].

[1] https://github.com/rust-lang/rfcs/pull/246
[2] https://github.com/rust-lang/rust/commit/f9fc49c06e5c71a8d63d6120e1a92b6445fb501d