improves phar build, fixes #97