cmakelists.txt fix for -DDYND_INSTALL_LIB=OFF mode