fix netbsd ctest