fixes in makefile to ensure successfull build on linux plateform