little changes to work on linux