A few hacks to get it running.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>