Add missing return in allocVector wrapper