fix yet another compiler issue.

http://stackoverflow.com/questions/5446005/why-dont-static-member-variables-play-well-with-the-ternary-operator