fix Native lua binding on windows