Force use of boost::tuple when using boost::tr1

This avoids a conflict with the overloaded tie() function.
Invert order of compiler warning flags so they can be overridden