boost: fix error message to use "--without-single".

* Use raise to report error.