OP-1512 Fixed a compiler issue with non static consts.