Fix for cl dynamic-library