Boost issues unused-local-typedefs warnings when compiling with g++ 4.8. Disable this warning if available.