Update dirname() in the installer to __DIR__