ctest netbsd fixes