Update oslayr.c

change working with lua 5.2