make actc compile on mingw
dlfcn is not used
Make these compile on mingw