fix regression tests build