Making changes so it compiles on linux