Fix error message to report a correct boost version