more cleanup to dependencies section of cmake