Had to do a ugly -DMOD_DLL_SUFFIX=\".so\" in the Makefile. Will break on some platforms, but i suck at autoconf...
Try it out. I've not updated to the tip yet, so i hope it works.