Modified makefile to support OS