make it compile and run on Linux