Fix test for VPATH build