Fix metrics build. (hopefully)