Fixed compilation on linux and added basic Makefile