shrink size of static DR library
The shared DR library on Linux is 1.8M. The static is much larger, partly due to the linker being unable to remove unused code. Some uses of the static library have size constraints. This issue covers shrinking the library through whatever means.