Updated the makefile to wrap an ifdef MACOSX around the
STM32LOADER_FLAGS