Vertex operators for non-simply-laced algebras