templates / branches--on commit configure: rework pthread handling to allow for user defined flags (1973b0d)
   1: this is just to ensure the directory exists.