fixes on makefile to build on linux