Add missing library dependency, which shows only up if we use
dynamic libraries