Adapted parser for Lua in GNU/Linux (for some reason it stopped working at Ubuntu 14.04)