d2-common: Add missing libraries

Signed-off-by: task650 <task650@gmail.com>