gypified version of dlfcn-win32 (Windows emulation layer) by Ramiro Polla