use temporary datadir when building