netbsd ctest fixes