Working compilation for Linux