improved makefile for linux

but it still crashes :(