Fixes CMakeLists.txt on case-sensitive filesystems
Fixes a memory leak when spawning new particles