small fixes in async_helper
disable Wshadow in gcc