Add --[enable|disable]-pthread option.