Fixed source file collecting in cmake script.