Made statics const

The static analyzer flagged these as not being thread-unsafe because
of the use of a non-const statc. In this particular case the static
could be made const without a problem.