fix for standalone phar