Fix build of svdshell under FreeBSD/Linux