added correct makefile
fix linux compilation issues