SERVER-14668 Fix compile on some platforms