RF: avoid import error for numpy 1.2

measure function not present in numpy 1.2; avoid import error during
tests by deferring name lookup until benchmarks are run.  They will
still error in numpy 1.2 when benchmarking, but having the benchmarks
run is more of a luxury than having the tests run without error.