fix bug393

we should check for >=tinyxml-2.6 within cmake

fixes #393

NOTE: this series is a candidate for the stable branch