Update makefile to remove platform specific defines