Hi Enrike,
to build externals under OSX you'll need the developer packages. Then you'll have to build flext and xsample using the flext build system. The process is described in flext/build.txt In buildsys/config-mac-pd-gcc.txt be sure to remove -faltivec and change -mcpu=G4 to G3.
greetings, Thomas