renamed KMDLL macro to CLMDLL