The present invention provides a method for preparing a compound of Formula (B), Formula (C), or Formula (D): wherein Q is a 3- to 10- membered ring system containing ring members selected from carbon atoms and up to 4 heteroatoms independently selected from up to 2 O, up to 2 S, and up to 4 N, wherein up to 3 carbon atom ring members are independently selected from C(=O) and C(=S) and such ring system is optionally substituted with up to 5 substituents independently selected from R