Fixed build on rpm-based platforms