Update starsha flags to always utilize do '-pthreads'

Also unify base options a little between debug and release builds.

Fixes a couple files which were not getting built with threading enabled.

Fixes #172