fix parsing of netbsd version