Thanks Stacho,

No more issue with thbezier, but now :

gcc -c -DIMG_API_VERSION=1 -Wall -DTHMACOSX -std=c++11 -O2 -o extern/getopt.o extern/getopt.c
error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
make: *** [extern/getopt.o] Error 1

Phil