Fixes to run olsrd on netbsd