fixing portmonitor luaL_openlib() deprecated function for Lua > 5.1