backward compatibility for __DIR__