added findalldevs
windows compilation with luajit