u/danielw/dm-1395

Creating PR for reviewing DM-1395
I would probably just modified env's `LIBPATH` to include VariantDir directory. This may be needed in more than one place so it could be easier just to agree that all libraries that we need during build go to VarianDir and that `-L{VarianDir}` is always included by default.