Fix Apache build errors.