Added conditional compilation with lcDXF/DWG.