log error if shared lib loading fails; new target k_dyn for building target with -rdynamic