add flag to make 1m run optional

this screws with valgrind, so it should be disabled so valgrind
can be easily run on the code.
add smq_dup to bump refcounts
remove librt from build

* it's only used on Linux, and -lpthreads does the same thing