Add Linux compatibility to Makefile