some work towards getting netbsd ctest to run under Linux