add a wdl file with the same name as the C file and specify PLUGIN_DIR "."; there.
Otherwise you'll have to copy the DLL to a subfoler ACKNEX_PLUGINS.