build: add --disable-tests build option.