add --with-riemann to configure.ac
more work on export helpers