purple: fix build breaks on CentOS 5