fix hekad build by adding #cgo flags to it

even if i don't have the feeling this is cool - this fixes #991 for me :/