Remove use of __DIR__ for PHP 5.2 compatibility.