fix netbsd core magic entries