fix bug 145, build on freebsd

* https://sourceforge.net/p/qucs/bugs/145/