added conditional link libraries if we decided to build them.