Fix unit test build breaks on rhel 5