Hi Samuel,

why don't you join the klik project instead of making your own implementation? (There is always a bunch of klik developers on #klik on irc.freenode.net that would like to work with you...)

As for compiling, I can't help you since I never compile anything. klik always uses binaries that are already on the web.

Greetings,
probono