SERVER-11781 Use enum hack to avoid need to assign storage to static constant