Fixes issue 117 (https://github.com/SOCI/soci/issues/117)