openbsd fixes
Lock system droped. A thread safe aproach is better.
     src/toots/riemannc.c Bug fix: optind wasn't declared at riemannc_query()