Remove 5.2 paths, add platform detection to have right luaext