Fixes homebrewphp function