Working around over-zealous compiler