Please bump dev-libs/quantlib ebuild to version 0.3.13 (from 0.3.12). The ebuild works fine in my portage overlay. Thanks.
Fixed in CVS, thanks for reporting!