Made CMakeLists more flexible with file globbing.