fix windows build for lua 5.2 VS2010