check_cpu - fix build on distros that do not provide libcpuinfo

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>