Add missing direct library dependencies