LOGSTASH-1913: Fix dependency error in flatjar so flatjar-test runs

Fixes flatjar-test on linux.