Fix pear installation