Make it compile and work in GCC / Linux