Fix build
Hotfix for cppcheck errors