Silence warnings from other people's code
Silence unused local typedef warnings from gcc+boost
Use -Werror for compiler flag support checks so that they actually work
Build with -dead_strip on OS X

Bumps 3.5 MB off the binary and doesn't seem to break anything.