Fix warning Declaration of x should be compatible with Walker
Use of undefined constant directory - assumed 'directory'

closes #1
Update version