Revert "disable trace"

This reverts commit 2818a2435918c27b19196a83aa68e77ee5846045.
Revert "Fix aliasing and C++11 issues."

This reverts commit e16ebe6cb04e0634ea261938a84430b975dd3a9e.