With the recently added warning flags in the CMake build, various compilers are complaining about things. I'm working on a PR to fix these issues.