fix netbsd version detection