various tweaks for linux
undef big_endian on linux
linux mouse & keyboard