fix compilation on Mac OS X (10.8.5)

The tre library code triggers a self-assignment warning in a macro, patched `tre-compile.c` to fix this.