Fix release building for riak_test