updated cmake to not use glob