Modified makefile and fixed an issue in triplet.

The Makefile now copies the output in the pd-externals directory.
static keyword in cpp has a different meaning,