cygwin build fix
tests: Fix compiler warning