Fix portage cookbook compatibility