modified cpp makefile

modified the makefile for the cpp layers.  the Wl flag without any additional parameters was causing problems