Added compiler flags to fix luajit issues