Initial cmake port

Hello,

I package this library for archlinux:
https://aur.archlinux.org/packages/mingw-w64-dlfcn/

Here is a cmake port as the current configure script is tedious.

Regards.