Update starsha flags to always utilize do '-pthreads'

Also unify base options a little between debug and release builds.

Fixes a couple files which weren't getting built with threading enabled.
Merge pull request #189 from cmaloney/update_starsha_flags

Update starsha flags to always utilize do '-pthreads'