fix ctest for netbsd _PC_