Fix LUAJIT crash when compiled with MSVC in debug mode

Luajit was always linking against /MD but cmake was using the correct /MDd for debug compiles. It now passes the debug setting through to luajit batch file.