LPS-48929 Remove elasticsearch folder on build time

Peer reviewed by @migue