add more linux compatibility, thx wiki a lot