configure: add pthreads, LIBVARNISHAPI_PREFIX, default prefix

.gitlab-ci.yml not found in this commit