vtep: fix '--enable-shared' build and 'make distcheck'.