Some small tweaks to the build system.
Create a preprocessor define for deprecation, more work on trees.
Add the old stuff back with OLD_ prefix, remove commented targets.
Add another forward declaration.
Starting to work on regex wrapper (@samercier may be interested in this)