Fix AH_PRIVATE_DIAG build.