Merge pull request #209 from vcrhonek/fix-gcc-15-build

Fix to build with GCC 15.