I'll see if i can get it compiled on a Mac OS for you and either tel you what I did or you could try my binary if you like ... what OSX are you on and 32 or 64bit? (also might be able to do it using clang I suppose)
I'm on 10.6.8, trying to use Macports libraries to get it to work. Thanks!