Fix missing dependencies, updates to compile with new typespec