Changed Makefile to support "PLAT" flag for choosing the compilation platform.