Changed the makefile for crossing build under linux
Added the build link problem use cplusplus compiler macro