test: fix compilation warning on non-linux systems