Compatibility with LuaTeX 0.75
Fixing issues #49 and #52