add option to determine how to install pear libraries