Patch tdb to compile with the new Makefile and gcc 4.6.3
Merge pull request #24 from bl0ckeduser/fix-tdb

Patch tdb to compile with the new Makefile and gcc 4.6.3