fix warning in version.cpp compilation