ugly workaround for https://github.com/ensime/ensime-server/issues/310