fix make-phar script and add builds to gitignore