Use standard library threads instead of pthread