fix compilation on Mac OS X (10.8.5)

tre library code triggers self-assignment warning, patched tre-compile.c
Merge pull request #247 from satta/mac_compile_warn

fix compilation on Mac OS X (10.8.5)