Fix EcoPlugin to work on Windows