Build vdb as a shared library.