fix windows esl compile
fix windows build for lua 5.2