tests: fix pkd build on OpenIndiana

Signed-off-by: Jon Simons <jon@jonsimons.org>