Cleanup: Fix warnings that prevented gcc from compiling the Release build type.