Remove leftover BOOST_CPPFLAGS and THREADFLAGS

They're now set in configure.ac