Support $__dirname