fix boost.log detection and cppflags as of boost 1.54