Fix path to static ressources when run from a PHAR.