workaround cmake for zxing