sv.c: Fix Darwin g++ build