Fixes for rust 0.13

[RFC 69](https://github.com/rust-lang/rfcs/blob/master/active/0069-const-vs-static.md):

The constant values previously used with `static` should now be `const`. Static
is for global variables.