unbreak build on non-linux

unbreak build on non-linux.