remove compiler warning on some platforms