tools/cmake: fix compilation with host libzstd-dev