build: fix the "show version" output in the centos release builds