Better laguage path location

Some frameworks, like Zend Framework 2, uses '''chdir(__DIR__)''' to make everything relative to the application root.

This fix is to improve and reduce the need to rewrite the folders path on the application