fix template arg for packaged_task in asnyc()
fix typedef of function-ptr in packaged_task