Fix compilation errors in quickstarts