Fix errors in Makefile for linux
Merge pull request #1940 from muffinresearch/update-makefile-update

Fix errors in Makefile for linux