For ENG-6702, fix unused warning on OS X