forgot to modify linux stuff, tested on linux should be good