Fix nox build. Closes #1368