SERVER-8510 Fix compile without debug flags on Linux