Added method for compiling pear and pecl mods