Enable multiprocessor MSVC builds for qmake.
Use C++ for lua_yajl on MSVC.
Add defines for static compilation and C++ lua.