For compilation without DXFLib