Fix compilation warning
Implement tox3 support, keep tox1 as silent fallback