fixed the useDynLib directives