Fixed lua plugin mingw64 compilation