Modified the makefile to link using g++ when linking with stdc++ on aTc request