Add self-update command when in Phar mode, update build process. Also add composer as dep for some utils