fixing cmake warning about interface link libraries.