fixes mac sample project
the most important method in OCFWebApplicationDelegate is now async as well