Do not support <=5.2, because of anonymous functions
Revert "Use dirname instead of __DIR__ for backwards compatibility with 5.2"

This reverts commit 21a2130749b0d76c66b04cab9a837ae2ff22c0e6.