Add build environment.
Add stats.h.
Add RPM spec.
Add test case.
Do not link with libpthread.
Within each thread order stats alphabetically.