fix linux compiling, make the makefile work again