standalone: fix mutex compilation error with apache 2.4