This is a really sophisticated piece of software! Why is it using a build script that's a hack? It would definitely be in portage, Debian, etc, if it had a proper configure script. If it were in portage, Debian, etc, then there would be many more users finding bugs and contributing patches.
Let me know if you want one made - I've never set this stuff up before, but I'd be willing to leran.