An improved method for the use of magnesium alkoxide for the preparation of starting materials and compounds for use herein is provided. The method is useful for preparing compounds of structure (5a) having substituent groups as defined herein which compounds can be used in antiviral therapy and prophylaxis.