see https://github.com/cliqz-oss/keyvi/pull/125 (got somehow closed automatically after git index rewrites, needs to be rebased)