Working compilation on linux