Defining __DIR__ for 5.2