build/common: fix build under other distro then RHEL